import React,{Component} from 'react';
import {hashHistory} from 'react-router'
import FooterBtnBox from '../../components/footer/footerBtnBox'

export default class Reservation extends Component{
    btn1Click(){
        alert(1)
    }


    btn2Click(){
        hashHistory.push({
            
        })
    }


    render(){
        return(
            <div>
                <div className="canScroll">
                    <div>
                        <div className="headReservation">

                        </div>
                        <div className="formReservation">
                            <form action="">
                                <div>
                                    <label htmlFor=""><span>标题:</span><input type="text"/></label>
                                </div>
                                <div>
                                    <label htmlFor=""><span>副标题:</span><input type="text"/></label>
                                </div>
                                <div>
                                    <label htmlFor=""><span>地点:</span><input type="text"/></label>
                                </div>
                                <div>
                                    <label htmlFor=""><span>时间:</span><input type="text"/></label>
                                </div>
                                <div>
                                    <label htmlFor=""><span>限制人数:</span><input type="text"/></label>
                                </div>
                                <div>
                                    <label htmlFor="">
                                <textarea name="" id="" cols="35" rows="10" className="textareaPadding"
                                          placeholder="详情"
                                ></textarea>
                                    </label>
                                </div>

                            </form>
                        </div>
                    </div>

                </div>

                <FooterBtnBox
                    price="显示区间"
                    btn1Name="报名"
                    btn2Name="客服电话"
                    btn1Click={this.btn1Click.bind(this)}
                    btn2Click={this.btn2Click.bind(this)}>
                </FooterBtnBox>
            </div>
        )
    }
}
